#pragma once


#include "IXDrawContextObj.h"

class ExportXSkinLib IXTextEnv : public IXDrawContextObj
{
    DEF_INTERFACE(IXTextEnv, _T("{9DF4A4A1-AB09-4997-850D-E0562553830C}"));
public:
    virtual void STDMETHODCALLTYPE   put_TextColor(COLORREF clrText) = 0;
    virtual void STDMETHODCALLTYPE   put_BackColor(COLORREF clrBkText) = 0;
    virtual void STDMETHODCALLTYPE   put_Transparent(BOOL bTrans) = 0;
    virtual void STDMETHODCALLTYPE   put_DrawFlags(DWORD dwFlags) = 0;

    virtual COLORREF STDMETHODCALLTYPE   get_TextColor() = 0;
    virtual COLORREF STDMETHODCALLTYPE   get_BkColor() = 0;
    virtual BOOL     STDMETHODCALLTYPE   get_Transparent() = 0;
    virtual DWORD    STDMETHODCALLTYPE   get_DrawFlags() = 0;

    virtual void    STDMETHODCALLTYPE   put_Singleline(IN BOOL bSingleline) = 0;
    virtual BOOL    STDMETHODCALLTYPE   get_Singleline() = 0;
};
